xen/arm: Map disabled device in DOM0
authorJulien Grall <julien.grall@linaro.org>
Wed, 1 Apr 2015 16:21:38 +0000 (17:21 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 2 Apr 2015 09:42:34 +0000 (10:42 +0100)
commit3d1fab806c165096b3fedc78ecb5650b945e21a6
tree0596364560bf665632cd456ee13c82010e9424a6
parentcc95df69713eb2e5a33d5825d89832f3c8c705d8
xen/arm: Map disabled device in DOM0

The check to avoid mapping disabled devices in DOM0 was added in
anticipation of the device passthrough. But, a brand new property will
be added later to mark device which will be passthrough.

Also, remove the memory type check as we already skipped them earlier in
the function via skip_matches.

Furthermore, some platform (such as the OMAP) may try to poke device even
if the property "status" is set to "disabled".

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
xen/arch/arm/domain_build.c
xen/arch/arm/platforms/omap5.c